using System.Collections;
using System.Collections.Generic;
using UnityEngine;


public static class AmmoCube {
	[RuntimeInitializeOnLoadMethod]
	static void SubscribeEvents() {
		Weapon.Shooting+=Weapon_Shooting;
	}

	private static void Weapon_Shooting(object sender,ShootEventArgs e) {
		if(!e.stat.consumedAmmos.ContainsKey(id)) return;
		e.stat.projectile=ProjectileData.nameToData["FoamShot"];
	}

	const int id = 4;



}